// import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import './index.css'
import { Provider } from 'react-redux'
import store from './store'

createRoot(document.getElementById('root')!).render(
  //StrictMode 严格模式，启用的话useEffect会执行两次
  // <StrictMode>

  // </StrictMode>
  <Provider store={store}>
    <App />
  </Provider>
)
